<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
  <title>E购Australia</title>
  <script src="/js/mui.min.js"></script>
  <script src="/js/jquery-1.10.1.min.js"></script>
  <script src="/js/mui.picker.min.js"></script>
  <link href="/styles/mui.min.css" rel="stylesheet"/>
  <link rel="stylesheet" href="/styles/style.css" />
  <link rel="stylesheet" href="/styles/mui.picker.css">
  <script type="text/javascript">
    !function(J){function H(){var d=E.getBoundingClientRect().width;var e=(d/7.5>100*B?100*B:(d/7.5<42?42:d/7.5));E.style.fontSize=e+"px",J.rem=e}var G,F=J.document,E=F.documentElement,D=F.querySelector('meta[name="viewport"]'),B=0,A=0;if(D){var y=D.getAttribute("content").match(/initial\-scale=([\d\.]+)/);y&&(A=parseFloat(y[1]),B=parseInt(1/A))}if(!B&&!A){var u=(J.navigator.appVersion.match(/android/gi),J.navigator.appVersion.match(/iphone/gi)),t=J.devicePixelRatio;B=u?t>=3&&(!B||B>=3)?3:t>=2&&(!B||B>=2)?2:1:1,A=1/B}if(E.setAttribute("data-dpr",B),!D){if(D=F.createElement("meta"),D.setAttribute("name","viewport"),D.setAttribute("content","initial-scale="+A+", maximum-scale="+A+", minimum-scale="+A+", user-scalable=no"),E.firstElementChild){E.firstElementChild.appendChild(D)}else{var s=F.createElement("div");s.appendChild(D),F.write(s.innerHTML)}}J.addEventListener("resize",function(){clearTimeout(G),G=setTimeout(H,300)},!1),J.addEventListener("pageshow",function(b){b.persisted&&(clearTimeout(G),G=setTimeout(H,300))},!1),H()}(window);
    if (typeof(M) == 'undefined' || !M){
      window.M = {};
    }
  </script>
</head>
  <!--<style>-->
    <!--.elip {-->
      <!--overflow: hidden;-->
      <!--text-overflow: ellipsis;-->
      <!--white-space: nowrap;-->
    <!--}-->
    <!--ul,li {-->
      <!--padding: 0;-->
      <!--margin: 0;-->
      <!--list-style: none;-->
    <!--}-->
    <!--.content {margin-bottom: 2.5rem;}-->

    <!--input::-webkit-outer-spin-button,-->
    <!--input::-webkit-inner-spin-button{-->
      <!-- -webkit-appearance: none !important;-->
      <!--margin: 0;-->
    <!--}-->

    <!--input[type="number"]{-moz-appearance:textfield !important;}-->


  <!--</style>-->
  <body>
  <!-- 标题栏 -->



    <%- body %>

    <!--底部-->
    <!--<nav class="bar bar-tab">-->
      <!--<a class="tab-item external active" href="/">-->
        <!--<span class="icon icon-home"></span>-->
        <!--<span class="tab-label">首页</span>-->
      <!--</a>-->
      <!--<a class="tab-item external" href="/list">-->
        <!--<span class="icon icon-menu"></span>-->
        <!--<span class="tab-label">商品</span>-->
      <!--</a>-->
      <!--<a class="tab-item external" href="/cart">-->
        <!--<span class="icon icon-cart"></span>-->
        <!--<span class="tab-label">购物车</span>-->
      <!--</a>-->
      <!--<a class="tab-item external" href="/user">-->
        <!--<span class="icon icon-me"></span>-->
        <!--<span class="tab-label">我的</span>-->
      <!--</a>-->
      <!--</nav>-->

    <script>
      mui('body').on('tap','a',function(){
        var openid = sessionStorage.getItem('openid')
        if (this.href.indexOf('account') != -1 || this.href.indexOf('cart') != -1) {
          window.top.location.href=this.href+'?openid='+openid;
        } else {
           window.location.href = this.href;
        }
      });
    </script>

<!--<script type="text/javascript">-->
  <!--$(function(){-->
    <!--$.init();-->
<!--//        底部-->
    <!--var pathname = window.location.pathname;-->
    <!--pathname = pathname.replace(/\//,'');-->
    <!--console.log(pathname);-->
    <!--var tabs = ['','list','cart','user'];-->
    <!--for(var i in tabs){-->
        <!--if(pathname == tabs[i]){-->
            <!--$('.bar-tab .tab-item').eq(i).addClass('active').siblings('.tab-item').removeClass('active');-->
        <!--}-->
    <!--}-->

  <!--});-->
<!--</script>-->

  </body>
</html>
